package com.enums;

/**
 * Created by Administrator on 2018/10/12 0012.
 */
public enum LoginEnum {
    STAFF_ACCOUNT_NOT_EXIST(false, "请检查账号密码是否正确"),
    STATUS_FAIL(false, "账号已停用"),
    ISBEING(false, "手机号已存在"),
    SUCCESS(true, "成功"),
    SETSUCCESS(true, "修改成功"),
    PHONEBEINGFAIL(false, "新手机号已被注册"),
    SETFAIL(false, "修改失败"),
    ZSUCCESS(true, "注册成功"),
    OUTSUCCESS(true, "退出成功"),
    OUTFAIL(false, "退出失败"),
    ADDFAIL(false, "注册失败"),
    FAIL(false, "失败");
    private boolean status;
    private String msg;

    LoginEnum(boolean status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
